package org.example.webserver.dao;

import org.example.webserver.pojo.User;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface UserDao extends JpaRepository<User,String> {
    User findByUser(String user);
    User findByUserAndPassword(String user,String password);
    User findById(Long id);
}
